using System.Web.UI;
using App_Code.Modules;

public partial class Modules_SimpleWebpart_New : SimpleWebpartModule
{
    protected override string Action
    {
        get { return "new"; }
    }

    protected override Control Root
    {
        get { return SimpleWebpartContent; }
    }

    //protected override void beforeSave(object obj)
    //{
    //    if (obj == null)
    //    {
    //        return;
    //    }
    //    SimpleWebpart sw = (SimpleWebpart)obj;

    //    sw.Body = new HtmlParser().ConvertToNormalHtml(sw.Body);

    //    base.beforeSave(obj);
    //}
}